import { useState, Suspense } from 'react'
import { RouterProvider } from 'react-router-dom'
import router from './router'
import './App.css'

function App() {
  const [count, setCount] = useState(0)

  return (
    <>
      <Suspense fallback={<div>loading...</div>}>
        <RouterProvider router={router} />
      </Suspense>
    </>
  )
}

export default App
